<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Game</title>
</head>
<body>
欢迎你，[[${session.userLogin.usrName}]] <a th:href="@{/user_logout}">退出登录</a><br>
题目：[[${session.heightString}]]<br>
<form  method="post" th:action="@{/to_game_submit}" >
  答案：<input type="text" name="userAnswer" maxlength="9" oninput="value=value.replace(/[^\d]/g,'')"><br>

  <input type="submit" value="提交答案">
</form>
</body>
</html>